#ifndef CITY_H
#define CITY_H
#include<iostream>
#include<cstring>
#include<map>
using namespace std;

class City
{
public:
    City();  // City类构造函数

    int citynum;
    int roadnum;

    // city 具体信息
    struct node{
        string name;
        string ename;
        int id;
        int x;
        int y;
    }city[7];

    // map 映射 方便通过城市名获取id
    map<string,int> getId;

    // 邻接矩阵:两种出行方式及设定拥堵情况
    int dis[7][7];
    double spc[7][7];
    double spt[7][7];
};

#endif // CITY_H
